package com.guiji.quartz.task;

import com.guiji.quartz.domain.Ningbo;
import com.guiji.quartz.domain.QuanzhouWanbao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @create: 2021-10-25 14:21
 **/
@Component("quanzhouWanbaoTask")
public class QuanzhouWanbaoTask {
	private static final Logger log = LoggerFactory.getLogger(QuanzhouWanbaoTask.class);
	public void quanzhouWanbaoTask() throws Exception {
		Long startTime = System.currentTimeMillis();
		QuanzhouWanbao quanzhouWanbao= new QuanzhouWanbao();
		try {
			quanzhouWanbao.mainMethod();
		} catch (Exception e) {
		}finally {
			log.info("QuanzhouWanbaoTask-end-:{}",System.currentTimeMillis()-startTime);
		}

	}
}
